const state = {
  tagsViewList: [
    {
      title: '首页',
      path: '/dashboard',
      isSelect: false,
    },
  ],
};
const getters = {
  tagsViewList(state) {
    return JSON.parse(JSON.stringify(state.tagsViewList));
  },
};
const mutations = {
  setTags(state, tags) {
    state.tagsViewList = JSON.parse(JSON.stringify(tags));
  },
};
const actions = {
  setTags({ commit }, tags) {
    commit('setTags', tags);
  },
};
export default { state, getters, mutations, actions };
